import Vue from 'vue'
import App from './App.vue'
import router from './router'
import './plugins/element.js'
//引入全局样式
import "./assets/css/global.css"

import axios from "axios"

// axios.defaults.baseURL = "http://127.0.0.1:8888/api/private/v1/";
axios.defaults.baseURL = "https://www.liulongbin.top:8888/api/private/v1/";
axios.defaults.timeout = 5000;
Vue.prototype.$http = axios;

Vue.config.productionTip = false;

new Vue({
    router,
    render: h => h(App)
}).$mount('#app');


/*
 * npm install axios --save  //开发/运行 依赖
 * npm install axios --S
 * npm install axios --save-dev //开发依赖
 * npm install axios --D
 *
 *
 * npm uninstall axios
 *
 * */
